<script setup>
import { useCounterStore } from '@/store/counter.js';
const counterStore = useCounterStore();

</script>

<template>
  <div>
    我是子组件1 - {{ counterStore.count }} - {{ counterStore.doubleCount }} - {{ counterStore.msg }} <button @click="counterStore.increment()">+</button>
  </div>
</template>

<style scoped>

</style>
